import{post } from '../http'

//海运信息同步



//船期查询
export  const GetTrPortShipmentList=({
  trpCname,
  trpInsvoyage,
  trpOutvoyage,
  PageIndexs,
  PageSizes
})=>{
  return post('/FTKJWLHYPT/Plan/GetTrPortShipmentList',{
    Data: {
      Parameters: {
        FTKJWLHYPT: {
          trpCname,
          trpInsvoyage,
          trpOutvoyage
        }
      },
      Orderbys: {},
      PageIndexs: {
        FTKJWLHYPT: PageIndexs
      },
      PageSizes: {
        FTKJWLHYPT: PageSizes
      }
    }
  })
}

//查询海运
export const GetTrShipingMessage=({
  trsCasenum,PageIndexs,PageSizes
})=>{
  return post('/FTKJWLHYPT/Plan/GetTrShipingMessage',{
    Data: {
      Parameters: {
        FTKJWLHYPT: {
          trsCasenum
        }
      },
      Orderbys: {},
      PageIndexs: {
        FTKJWLHYPT: PageIndexs
      },
      PageSizes: {
        FTKJWLHYPT:PageSizes
      }
    }
  })
}
